projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68011e9
)
nodeeditor: Don't use container api on list box rows
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 6 May 2020 21:03:12 +0000
(17:03 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 6 May 2020 21:03:12 +0000
(17:03 -0400)
GtkListBoxRow is not a container anymore.
demos/node-editor/node-editor-window.c
patch
|
blob
|
history
diff --git
a/demos/node-editor/node-editor-window.c
b/demos/node-editor/node-editor-window.c
index 7bda0679d4bf8297b4b14708ace2d35c7fcfe586..06214d282c7cdb1b2775c3bfd37ce118e51ddf18 100644
(file)
--- a/
demos/node-editor/node-editor-window.c
+++ b/
demos/node-editor/node-editor-window.c
@@
-796,7
+796,7
@@
node_editor_window_create_renderer_widget (gpointer item,
gtk_container_add (GTK_CONTAINER (box), picture);
row = gtk_list_box_row_new ();
- gtk_
container_add (GTK_CONTAINER
(row), box);
+ gtk_
list_box_row_set_child (GTK_LIST_BOX_ROW
(row), box);
gtk_list_box_row_set_activatable (GTK_LIST_BOX_ROW (row), FALSE);
return row;